package com.ruoyi.web.area.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 大洲管理对象 continents
 *
 * @author hjy
 * @date 2022-12-10
 */
public class Continents extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 大洲名称
     */
    @Excel(name = "大洲名称")
    private String name;

    /**
     * 地理位置
     */
    @Excel(name = "地理位置")
    private String location;

    /**
     * 国家数量
     */
    @Excel(name = "国家数量")
    private Long countryNum;

    /**
     * 大小
     */
    @Excel(name = "大小")
    private String size;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public String getLocation() {
        return location;
    }

    public void setCountryNum(Long countryNum) {
        this.countryNum = countryNum;
    }

    public Long getCountryNum() {
        return countryNum;
    }

    public void setSize(String size) {
        this.size = size;
    }

    public String getSize() {
        return size;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("name", getName())
                .append("location", getLocation())
                .append("countryNum", getCountryNum())
                .append("size", getSize())
                .append("updateTime", getUpdateTime())
                .append("createTime", getCreateTime())
                .toString();
    }
}
